<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:include="head :: leadhead"></div>
    <h1>Home Page</h1>
<h2>here :<span th:text="${name}"></span></h2>
<form method="post" th:action="@{/cartadd}">
    <input name="id" type="text">
    <input type="submit" value="submit">
</form>


</body>
</html>